import React, { Component } from 'react';
import style from  "./style.module.scss";

export default class SearchBtn extends Component {
  render() {
    return (
        <div className={style.container} onClick={(evt,id = 1000) => this.props.onClick(id)}>
        <img src="http://img.1314000.cn/icon/search.png" alt="" />
        <div>{this.props.children}</div>
      </div>
    )
  }
}
